<?php

App::uses('AppModel', 'Model');

/**
 * Role Model
 * 
 * PHP versions 5
 * CAKEPHP versions 2.x
 * 
 * TvPanel - Admin Control Panel Powerfull Cakephp Framework
 * Copyright 2011, Tien Van Vo <vantienvnn@gmail.com>
 * 
 * CakePHP(tm) :  Rapid Development Framework (http://www.cakephp.org)
 * Copyright 2005-2011, Cake Software Foundation, Inc. (http://www.cakefoundation.org)
 *
 * Licensed under The MIT License
 * Redistributions of files must retain the above copyright notice.
 *
 * @author        Tien Van Vo <vantienvnn@gmail.com>
 * @link          
 * @package       Tvpanel
 * @subpackage    Tvpanel.Model
 * @since         TvPanel v 2.0
 * @license       MIT License (http://www.opensource.org/licenses/mit-license.php)
 *
 * @property UserRole $UserRole
 */
class NodeRole extends AppModel {    
    /**
     * Validation rules.
     *
     * @var array
     */
     var $useTable = 'node_role';    
     public $belongsTo = array(
        'Node' => array(
            'className' => 'Node.Node',
            'foreignKey' => 'node_id',
            'conditions' => '',
            'fields' => '',
            'order' => '',
            'counterCache' => ''
        )
    );   
}

?>